home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / fruit.swf / scripts / CBlackPANE.as < prev   
Text File  |  2006-01-17  |  818b  |  25 lines

  1. CBlackPANE = function()
  2. {
  3.    this.setSize(this._width,this._height);
  4. };
  5. CBlackPANE.prototype = new MovieClip();
  6. CBlackPANE.prototype.setSize = function(w, h)
  7. {
  8.    this.box_mc._xscale = 10000 / this._xscale;
  9.    this.box_mc._yscale = 10000 / this._yscale;
  10.    this.box_mc.CBlack_LM._y = 8;
  11.    this.box_mc.CBlack_LM._height = h - 16;
  12.    this.box_mc.CBlack_LB._y = h;
  13.    this.box_mc.CBlack_CT._width = w - 16;
  14.    this.box_mc.CBlack_CM._width = w - 16;
  15.    this.box_mc.CBlack_CM._height = h - 16;
  16.    this.box_mc.CBlack_CB._y = h - 8;
  17.    this.box_mc.CBlack_CB._width = w - 16;
  18.    this.box_mc.CBlack_RT._x = w;
  19.    this.box_mc.CBlack_RM._x = w;
  20.    this.box_mc.CBlack_RM._height = h - 16;
  21.    this.box_mc.CBlack_RB._x = w;
  22.    this.box_mc.CBlack_RB._y = h;
  23. };
  24. Object.registerClass("CBlackPANE",CBlackPANE);
  25.